package tool

import java.io.File

import shared.Pojo._

/**
 * Created by yz on 9/11/2020
 */
trait DataFileTool {

  def getUserDataKindDir(userId: Int): File

  def getUserDataKindFile(userId: Int, fileName: String) = {
    val kindDir = getUserDataKindDir(userId)
    new File(kindDir, fileName)
  }

}
